package com.yic.module.device.controller.admin.inspectionRecordInfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 巡检/点检记录明细 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectionRecordInfoRespVO extends InspectionRecordInfoBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private Long updater;

    @Schema(description = "计划名称")
    private String planName;
    @Schema(description = "检验类型")
    private Integer inspectionType;
    @Schema(description = "检验人")
    private String userName;

    @Schema(description = "检查项ID")
    private Long entryId;

    @Schema(description = "设备名称")
    private String name;

    @Schema(description = "设备编码")
    private String code;

    @Schema(description = "设备描述")
    private String description;


    @Schema(description = "图片集合")
    private List<String> imagesList;


    /*保养项*/
    @Schema(description = "保养名称")
    private String mName;
    @Schema(description = "保养类型")
    private Integer mType;
    @Schema(description = "工时(时)")
    private Long mWorkHours;
    @Schema(description = "保养内容")
    private String mContent;
    @Schema(description = "备注")
    private String mRemark;
    @Schema(description = "保养手册")
    private String mManual;

}
